package com.naiterui.ehp.bs.emr.entity.mongo.health;

import io.swagger.annotations.ApiModel;
import lombok.*;

import java.io.Serializable;

/**
 * @Description 过敏史
 * @Author gongbaoqiang
 * @Date 2020/6/2 2:33 PM
 */
@Data
@ToString
@Builder
@ApiModel("过敏史")
public class Allergy implements Serializable {
    private static final long serialVersionUID = 37244717996948681L;

    /**
     * 外伤史
     */
    private String value;

    /**
     * 过敏史详情
     */
    private OptionDetailVO detail;


    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class OptionDetailVO{

        /**
         * 过敏源
         */
        private String  allergen;

        /**
         * 过敏反应
         */
        private String anaphylaxis;

    }
}
